package com.chixing.day04;

/**
 * 构造函数作用:初始化对象
 */
public class CarTest {
    public static void main(String[] args) {
        Car car1 = new Car();
        car1.setCarId(101);
        car1.setCarName("axa");
        car1.setCarColor("黑色");

        Car car2 = new Car(102, "aDo", "蔚蓝");
    }
}
